$(function () {
    function getFootInfo() {
        $.get("/tnweb/index/footInfo", {}, function (data) {
            $("#serverDays").attr("data-number", data.serverDays);
            $("#serverDays").html(data.serverDays);
            $("#serverPlayerNums").attr("data-number", data.allPlayers);
            $("#serverPlayerNums").html(data.allPlayers);
            $("#serverOnlineNums").attr("data-number", data.onlineNums);
            $("#serverOnlineNums").html(data.onlineNums);
            $("#webRegNums").attr("data-number", data.webUserNums);
            $("#webRegNums").html(data.webUserNums);
        });
    }
    getFootInfo();
});

